package com.ruoyi.interview;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class LinkedListTest {

    public static void main(String[] args) {
        List<String> linkedList = new LinkedList<>();
        List<String> arrayList = new ArrayList<>();
        arrayList.add("ss1");
        arrayList.add("ss2");
        arrayList.add("ss3");
        arrayList.add("ss4");
        System.out.println(arrayList.get(2));
    }
}
